/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* =====================================================
   WOOCOMMERCE ÜRÜN DETAY SAYFASI – RESPONSIVE FİYAT
   ===================================================== */

/* Ana fiyat + varyasyon fiyatı */
body.single-product .summary .price,
body.single-product .summary .woocommerce-Price-amount,
body.single-product .summary .price .amount,
body.single-product .summary .price .woocommerce-Price-amount,
body.single-product .wd-single-price .price,
body.single-product .wd-single-price .woocommerce-Price-amount,
body.single-product .product .summary .price,
body.single-product form.variations_form ~ .price {
    font-size: clamp(20px, 2.2vw, 30px) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

/* Fiyat içindeki tüm spanlar aynı ölçüyü miras alsın */
body.single-product .summary .price *,
body.single-product .wd-single-price .price * {
    font-size: inherit !important;
}

/* Eski fiyat (üstü çizili) */
body.single-product .summary .price del,
body.single-product .wd-single-price .price del {
    font-size: clamp(13px, 1.4vw, 16px) !important;
    opacity: .65;
    font-weight: 400;
}

/* Yeni fiyat */
body.single-product .summary .price ins,
body.single-product .wd-single-price .price ins {
    font-size: inherit !important;
    font-weight: 700;
    text-decoration: none;
}

/* Shop / Cart / Checkout etkilenmesin */
body.woocommerce-cart .price,
body.woocommerce-checkout .price,
body.woocommerce-shop .price,
body.archive .price {
    font-size: inherit !important;
    font-weight: inherit !important;
}
